package com.example.testdemo.controller;

import com.example.testdemo.utils.HttpUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: hkai
 * @date: 2021/12/21 9:37 下午
 * @version: 1.0
 */
@Slf4j
@RestController
@RequestMapping("/local")
public class Test {

    @GetMapping("/ac1")
    public String getLocal() {
        return HttpUtils.getHttp();
    }
}
